"""
UML gym
Kyle Christenson
"""
import copy
class Gym:
def __init__(self, name, cost, open_time, close_time):
self.name = name
self.cost = cost
self.subscriber_count = subscriber_count
self.trainer_count = trainer_count
self.open_time = open_time
self.close_time = close_time
self.subscriber_list = []
self.trainer_list = []
def Copy(self):
"""
Creates a deepcopy of this object and returns it.
"""
gym_copy = self.deepcopy()
return gym_copy
def get_name(self):
"""
Returns the name of the gym
"""
return self.name
def get_price(self):
"""
returns the price of the gym
"""
return self.cost
def is_open(self, time):
"""
Checks if the gym is open based on the time
Returns a boolean
"""
return True
def add_subscriber(self, subscriber):
"""
adds a subscriber to subscriber_list
increases the gym's subscriber_count by 1
"""
self.subscriber_list += subscriber
self.subscriber_count += 1
def add_trainer(self, trainer):
"""
adds a trainer to trainer_list
increase the gym's trainer_count by 1
"""
self.trainer_list += trainer
self.trainer_count += 1
class Subscriber:
def __init__(self, name, age):
self.name = name
self.age = age
def get_name(self):
"""
returns the subscriber's name
"""
return self.name
class Trainer:
def __init__(self, name, age, years_of_experience):
self.name = name
self.age = age
self.years_of_experience = years_of_experience
def get_name(self):
"""
returns the trainer's name
"""
return self.name
def get_years_of_experience(self):
return self.years_of_experience
1

So, as you can see, Edge and Chrome have similar performance on macOS and your MacBook configuration, but Edge may have some edge (pun intended) over Chrome in terms of CPU and RAM usage and M1 optimization. I hope this helps you make an informed decision.